package cn.com.huak.www.sell.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import javax.net.ssl.SSLContext;


/**
 * 微信账号相关配置
 * @author huak@wanggang
 * @date 2019/1/6 21:26
 */
@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WechatAccountConfig {
    /* 公众平台id */
    private String mpAppid;

    /* 口令 */
    private String mpAppSecret;

    /* 商户号 */
    private String mchId;

    /* 商户秘钥 */
    private String mchKey;

    /* 秘钥路径 */
    private String keyPath;

    /* 商户证书路径 */
    private SSLContext sslContext;

    /* 异步通知url */
    private String notifyUrl;
}
